package com.jfreer.blog.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;

/**
 * User: landy
 * Date: 15/4/25
 * Time: 下午9:33
 */
@Configuration
@EnableAutoConfiguration
@ComponentScan
@ImportResource(value = {"app.xml"})
public class Application {
    public static void main(String[] args) {
        ConfigurableApplicationContext app = SpringApplication.run(Application.class);
    }
}
